<template>
    <section class="upload-info">
        <process-statistics :data-list="processStatisticsData"/>
        <section class="common-block-section">
            <type-table :type="0"/>
            <!-- <el-tabs v-model="activeName" @tab-click="handleClick">
                <el-tab-pane label="财务精度" name="first">
                    <type-table :type="0"/>
                </el-tab-pane>
                <el-tab-pane label="税务精度" name="second">
                    <type-table :type="1"/>
                </el-tab-pane>
            </el-tabs> -->
        </section>
    </section>
</template>

<script>
/**
 * @file 财务自动化 / 信息上传
 */
import processStatistics from '@/components/process-statistics';
import typeTable from './typeTable';
import dataHelper from '@/pages/finance-auto/data.js';

export default {
    components: {
        processStatistics,
        typeTable
    },
    data() {
        return {
            activeName: 'first',
            // 进度统计数据
            processStatisticsData: []
        };
    },
    mounted() {
        dataHelper.getData().then(data => {
            this.processStatisticsData = data;
        });
    },
    methods: {
        handleClick(tab, event) {
        }
    }
}
</script>


<style lang="less" scoped>
.upload-info {
    padding: 0 10px;
    .top-line {
        padding-bottom: 10px;
    }
    .pagination {
        text-align: right;
        padding: 20px 0 0;
    }
}
</style>
